package com.CGFrame.struts.action.detail;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import com.CGFrame.struts.bean.ProjectOperate;
import com.CGFrame.struts.bean.confirm.ConfirmHistoryBean;

public class GetCommentsAction extends Action {

	@Override
	public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
		String makeId=request.getParameter("makeId");
		ConfirmHistoryBean chb=new ConfirmHistoryBean();
		List list=chb.getTaskConfirmHistrotyByMakeId(makeId);
		request.setAttribute("makeId", makeId);
		request.setAttribute("ConfirmHistory",list);
		return mapping.findForward("showComments");
	}
}